package com.boot.project.service;

import com.boot.project.domain.OrderDo;
import javafx.beans.binding.ObjectExpression;

import java.util.List;
import java.util.Map;

public interface OrderService {
    int add(OrderDo orderDo);//添加订单

    Map<String, Object> list(Integer pageNum, Integer pageSize);//查询所有订单

    Map<String, Object> listBy(String openId ,Integer pigeNum, Integer pageSize);//根据某个指定值查询订单

    List<OrderDo> listByopenId(OrderDo orderDo);

    int remove(OrderDo orderDo);//删除订单

    Map<String, Object> changeOrderStatus(String openId);


    int update(OrderDo orderDo);//更新订单
    List<OrderDo> unpaid(String openId);
    List<OrderDo> paid(String openId);
    List<Map<String, Object>> orderRecord(String openId);
}
